package com.example.demomybatis.service;

import com.example.demomybatis.entity.Course;
import com.example.demomybatis.vo.RequestCoursePr;

import java.util.List;

public interface CourseService {

   public Course  addCourse(Course course);

    Integer  updateCourse(Course course);

    List<Course> selectCourse(RequestCoursePr requestCoursePr);

    Integer  deleteCourse(Integer courseId);

    Course selectOneCourse(Integer courseId);

    Integer selectCountCourse (RequestCoursePr requestCoursePr);
}
